<template>
  <div>
    <el-row :gutter="10">
      <el-col :span="6">
        <el-card>
          <Datail title="总销售额" count="￥ 12306">
            <template slot="charts">
              <span>周同比 &nbsp; 56.67%</span
              ><i class="el-icon-caret-top"></i> &nbsp;
              <span>日同比 &nbsp; 19.96%</span
              ><i class="el-icon-caret-bottom"></i>
            </template>
            <template slot="footer">
              <span>日销售额 ￥ 12423</span>
            </template>
          </Datail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <Datail title="访问量" count="88480">
            <template slot="charts">
              <LineChart />
            </template>
            <template slot="footer">
              <span>日访问量 1234</span>
            </template>
          </Datail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <Datail title="支付笔数" count="95270">
            <template slot="charts">
              <BarChart />
            </template>
            <template slot="footer">
              <span>转化率 65%</span>
            </template>
          </Datail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <Datail title="运营活动效果" count="78%">
            <template slot="charts">
              <ProgressChart />
            </template>
            <template slot="footer">
              <span>周同比 &nbsp; 56.67%</span
              ><i class="el-icon-caret-top"></i> &nbsp;
              <span>日同比 &nbsp; 19.96%</span
              ><i class="el-icon-caret-bottom"></i>
            </template>
          </Datail>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import Datail from "./Detail";
import LineChart from "./lineChart";
import BarChart from "./barChart";
import ProgressChart from "./progressChart";
export default {
  components: { Datail, LineChart, BarChart, ProgressChart },
};
</script>

<style>
</style>